import service from '@/utils/request/http'

const homeApi = {
  getHomeList: (params: object) => service.get(`/official/homeFile/list`, params),
  getTechnicalProduct: (params: object) => service.get(`/official/technicalProduct/list`, params),
  getAbout: (params: object) => service.get(`/official/about/1`, params),
  getByProductCode: (params: object) => service.get(`/official/technicalProductDetail/getByProductCode/network_security`, params),
  getourAdvantage: (params: object) => service.get(`/official/ourAdvantage/list`, params),
  getconnectUS: () => service.get(`/official/contactUs/1`),
  getarticle: (params: object) => service.get(`/official/article/list`, params),
  getByProductCodeDetails: (productCode:string) => service.get('/official/technicalProductDetail/getByProductCode/' +  productCode),
 
}

export default homeApi
